package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/4/20 0020
 **/
@Data
@ApiModel("仓库类型默认值对象")
@TableName("zj_store_type")
public class StoreTypeDefaultData implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "类型：1-入库，2-出库")
    private Integer type;

    @ApiModelProperty(value = "类型名称")
    private String name;

    @ApiModelProperty(value = "是默认为工单配件出库类型：0-否，1-是")
    @TableField("is_out_store_order_spare_type")
    private Boolean outStoreOrderSpareType;

    @ApiModelProperty(value = "是默认为工单配件入库类型：0-否，1-是")
    @TableField("is_in_store_order_spare_type")
    private Boolean inStoreOrderSpareType;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;
}
